package com.qidianit.mes.md.mapper;

import com.qidianit.mes.pojo.Workstation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 奇幻夜之梦
 * @Company 起点编程
 * @Description
 * @Time 2024/10/25 23:04
 */
public interface WorkstationMapper {
    List<Workstation> selectByPage(Workstation workstation);

    int save(Workstation workstation);

    int updateById(Workstation workstation);

    Workstation selectById(Long workstationId);

    int deleteById(Long workstationId);

    int updateWorkstationsByIds(@Param("ids")String[] ids, @Param("statu") int statu);

    List<Workstation> listWorkstations();
}

